package net.caixiaomi.info.ui.dialog;

import android.support.annotation.NonNull;
import android.view.View;
import android.widget.EditText;

import net.caixiaomi.info.R;
import net.caixiaomi.info.base.BaseDialogFragment;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 修改昵称对话框
 */

public class NickNameDialogFragment extends BaseDialogFragment {

    @BindView(R.id.name)
    EditText mName;

    @OnClick(android.R.id.button1)
    void toConfirm() {
        try {
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    @OnClick(android.R.id.button2)
    void toCancel() {
        dismiss();
    }

    @Override
    protected int layoutRes() {
        return R.layout.dialog_nick_name;
    }

    @Override
    protected void onViewCreated(@NonNull View view) {

    }
}
